package com.fanketly.musicdiary.navigation

import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import com.fanketly.musicdiary.ui.screen.AnimatedSplashScreen
import com.fanketly.musicdiary.ui.screen.HomeHorizontalPager
import com.fanketly.musicdiary.ui.screen.SheetLayout

@Composable
fun SetupNavGraph(navController: NavHostController) {
    NavHost(navController = navController, startDestination = MyScreen.Splash.route) {
        composable(route = MyScreen.Splash.route) {
            AnimatedSplashScreen(navHostController = navController)
        }

        composable(route = MyScreen.Home.route) {
//           SheetLayout()
            HomeHorizontalPager()
        }
    }
}